package com.bizmerce.ebms.engine.ebms;

import java.util.Iterator;

import javax.xml.namespace.QName;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPException;

import com.sun.org.apache.xerces.internal.dom.ElementNSImpl;

public class EBMSElementImpl extends ElementNSImpl implements SOAPElement {

	private SOAPElement soapElement;

	public EBMSElementImpl(SOAPElement soapElement) {
		this.soapElement = soapElement;
	}

	public SOAPElement addAttribute(Name arg0, String arg1)
			throws SOAPException {
		return soapElement.addAttribute(arg0, arg1);
	}

	public SOAPElement addAttribute(QName arg0, String arg1)
			throws SOAPException {
		return soapElement.addAttribute(arg0, arg1);
	}

	public SOAPElement addChildElement(Name arg0) throws SOAPException {
		return soapElement.addChildElement(arg0);
	}

	public SOAPElement addChildElement(QName arg0) throws SOAPException {
		return soapElement.addChildElement(arg0);
	}

	public SOAPElement addChildElement(String arg0) throws SOAPException {
		return soapElement.addChildElement(arg0);
	}

	public SOAPElement addChildElement(SOAPElement arg0) throws SOAPException {
		return soapElement.addChildElement(arg0);
	}

	public SOAPElement addChildElement(String arg0, String arg1)
			throws SOAPException {
		return soapElement.addChildElement(arg0, arg1);
	}

	public SOAPElement addChildElement(String arg0, String arg1, String arg2)
			throws SOAPException {
		return soapElement.addChildElement(arg0, arg1, arg2);
	}

	public SOAPElement addNamespaceDeclaration(String arg0, String arg1)
			throws SOAPException {
		return soapElement.addNamespaceDeclaration(arg0, arg1);
	}

	public SOAPElement addTextNode(String arg0) throws SOAPException {
		return soapElement.addTextNode(arg0);
	}

	public QName createQName(String arg0, String arg1) throws SOAPException {
		return soapElement.createQName(arg0, arg1);
	}

	public Iterator getAllAttributes() {
		return soapElement.getAllAttributes();
	}

	public Iterator getAllAttributesAsQNames() {
		return soapElement.getAllAttributesAsQNames();
	}

	public String getAttributeValue(Name arg0) {
		return soapElement.getAttributeValue(arg0);
	}

	public String getAttributeValue(QName arg0) {
		return soapElement.getAttributeValue(arg0);
	}

	public Iterator getChildElements() {
		return soapElement.getChildElements();
	}

	public Iterator getChildElements(Name arg0) {
		return soapElement.getChildElements();
	}

	public Iterator getChildElements(QName arg0) {
		return soapElement.getChildElements(arg0);
	}

	public Name getElementName() {
		return soapElement.getElementName();
	}

	public QName getElementQName() {
		return soapElement.getElementQName();
	}

	public String getEncodingStyle() {
		return soapElement.getEncodingStyle();
	}

	public Iterator getNamespacePrefixes() {
		return soapElement.getNamespacePrefixes();
	}

	public String getNamespaceURI(String arg0) {
		return soapElement.getNamespaceURI(arg0);
	}

	public Iterator getVisibleNamespacePrefixes() {
		return soapElement.getVisibleNamespacePrefixes();
	}

	public boolean removeAttribute(Name arg0) {
		return soapElement.removeAttribute(arg0);
	}

	public boolean removeAttribute(QName arg0) {
		return soapElement.removeAttribute(arg0);
	}

	public void removeContents() {
		soapElement.removeContents();
	}

	public boolean removeNamespaceDeclaration(String arg0) {
		return soapElement.removeNamespaceDeclaration(arg0);
	}

	public SOAPElement setElementQName(QName arg0) throws SOAPException {
		return soapElement.setElementQName(arg0);
	}

	public void setEncodingStyle(String arg0) throws SOAPException {
		soapElement.setEncodingStyle(arg0);
	}

	public void detachNode() {
		soapElement.detachNode();
	}

	public SOAPElement getParentElement() {
		return soapElement.getParentElement();
	}

	public String getValue() {
		return soapElement.getValue();
	}

	public void recycleNode() {
		soapElement.recycleNode();
	}

	public void setParentElement(SOAPElement arg0) throws SOAPException {
		soapElement.setParentElement(arg0);
	}

	public void setValue(String arg0) {
		soapElement.setValue(arg0);
	}

}
